package com.xm.mapper;

import com.xm.pojo.Users;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface UserMapper {

    List<Users> selectUserAllMapper();

    @Select("select * from user where username=#{username} and password=#{password}")
    List<Users> loginUser(Users users);
}
